# main.py
from database import DatabaseManager

config_file_path = 'config.json'
db_manager = DatabaseManager(config_file_path)

# 示例调用
table_name = 'users'
sensitive_columns = ['email', 'phone']
mapping_table_name = 'sensitive_data_users'

db_manager.replace_sensitive_data(table_name, sensitive_columns, mapping_table_name)
db_manager.close_connection()